package leetcode.string;

/**
 * @Description: https://leetcode.cn/problems/string-rotation-lcci/
 * @Author Ammar
 * @Create 2023/7/12 14:31
 */
public class _面试题_01_09_字符串轮串 {
    public boolean isFlipedString(String s1, String s2) {
        if (s1 == null || s2 == null) return false;
        if (s1.length() != s2.length()) return false;
        return (s1 + s1).contains(s2);
    }
}
